package com.ruoyi.project.ledger.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.project.system.domain.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel.Type;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 经营户台账对象 ledger_business_account
 * 
 * @author ruoyi
 * @date 2020-05-08
 */
public class LedgerBusinessAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "序列号", cellType = Excel.ColumnType.NUMERIC,type = Type.EXPORT)
    private Long id;

    /** 场站id */
    private Long stationId;

    private String stationName;

    /** 门牌号 */
    @Excel(name = "门牌号")
    private String houseNumber;

    /** 库房 */
    @Excel(name = "库房")
    private String storageRoom;

    /** 曾用公司名称 */
    @Excel(name = "曾用公司名称")
    private String beforeCompanyName;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String companyName;

    /** 企业人数 */
    @Excel(name = "企业人数")
    private Integer companyNumber;

    /** 现有人数 */
    @Excel(name = "现有人数")
    private Integer nowNumber;

    /** 法人 */
    @Excel(name = "法人")
    private String legalPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String telephone;

    /** 法人身份证 */
    @Excel(name = "法人身份证")
    private String legalPersonIdcard;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    /** 经营范围 */
    @Excel(name = "经营范围")
    private String businessScope;

    /** 是否有营业执照照片(0-有 1-无) */
    @Excel(name = "是否有营业执照照片",readConverterExp = "0=有,1=无")
    private String isBusinessLicensePhoto;

    /** 营业执照号 */
    @Excel(name = "营业执照号",width = 25)
    private String businessLicenseNo;

    /** 营业执照注册地址 */
    @Excel(name = "营业执照注册地址",width = 50)
    private String registeredAddressOfBusinessLicense;

    /** 是否有运输经营许可证照片(0-有 1-无) */
    @Excel(name = "是否有运输经营许可证照片",readConverterExp = "0=有,1=无")
    private String isTransportationBusinessLicensePhoto;

    /** 道路运输经营许可证号 */
    @Excel(name = "道路运输经营许可证号")
    private String roadTransportBusinessLicenseNo;

    /** 道路运输经营许可证注册地址 */
    @Excel(name = "道路运输经营许可证注册地址",width = 50)
    private String registeredAddressOfRoadTransportBusinessLicense;

    /** 营运车辆数（本企业注册） */
    @Excel(name = "营运车辆数（本企业注册）")
    private Integer numberOfOperatingVehicles;

    /** 实际经营地址 */
    @Excel(name = "实际经营地址",width = 50)
    private String actualBusinessAddress;

    /** 注册地址 */
    @Excel(name = "注册地址",width = 50)
    private String registeredAddress;

    /** 入住时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date enteringDate;

    /** 叉车数 */
    private Integer forkliftNum;

    /** 叉车操作人数 */
    private Integer forkliftOperatorNum;

    private String[] imgs;

    private List<Map<String, Object>> imgList;

    /** 删除标志位 */
    private String delFlag;

    /** 创建人 */
    private String createId;

    /** 更新人 */
    private String updateId;

    private SysDept sysDept;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }
    public void setHouseNumber(String houseNumber) 
    {
        this.houseNumber = houseNumber;
    }

    public String getHouseNumber() 
    {
        return houseNumber;
    }
    public void setStorageRoom(String storageRoom) 
    {
        this.storageRoom = storageRoom;
    }

    public String getStorageRoom() 
    {
        return storageRoom;
    }
    public void setBeforeCompanyName(String beforeCompanyName) 
    {
        this.beforeCompanyName = beforeCompanyName;
    }

    public String getBeforeCompanyName() 
    {
        return beforeCompanyName;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCompanyNumber(Integer companyNumber) 
    {
        this.companyNumber = companyNumber;
    }

    public Integer getCompanyNumber() 
    {
        return companyNumber;
    }
    public void setNowNumber(Integer nowNumber) 
    {
        this.nowNumber = nowNumber;
    }

    public Integer getNowNumber() 
    {
        return nowNumber;
    }
    public void setLegalPerson(String legalPerson) 
    {
        this.legalPerson = legalPerson;
    }

    public String getLegalPerson() 
    {
        return legalPerson;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setLegalPersonIdcard(String legalPersonIdcard) 
    {
        this.legalPersonIdcard = legalPersonIdcard;
    }

    public String getLegalPersonIdcard() 
    {
        return legalPersonIdcard;
    }
    public void setNativePlace(String nativePlace) 
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace() 
    {
        return nativePlace;
    }
    public void setBusinessScope(String businessScope) 
    {
        this.businessScope = businessScope;
    }

    public String getBusinessScope() 
    {
        return businessScope;
    }
    public void setIsBusinessLicensePhoto(String isBusinessLicensePhoto) 
    {
        this.isBusinessLicensePhoto = isBusinessLicensePhoto;
    }

    public String getIsBusinessLicensePhoto() 
    {
        return isBusinessLicensePhoto;
    }
    public void setBusinessLicenseNo(String businessLicenseNo) 
    {
        this.businessLicenseNo = businessLicenseNo;
    }

    public String getBusinessLicenseNo() 
    {
        return businessLicenseNo;
    }
    public void setRegisteredAddressOfBusinessLicense(String registeredAddressOfBusinessLicense) 
    {
        this.registeredAddressOfBusinessLicense = registeredAddressOfBusinessLicense;
    }

    public String getRegisteredAddressOfBusinessLicense() 
    {
        return registeredAddressOfBusinessLicense;
    }
    public void setIsTransportationBusinessLicensePhoto(String isTransportationBusinessLicensePhoto) 
    {
        this.isTransportationBusinessLicensePhoto = isTransportationBusinessLicensePhoto;
    }

    public String getIsTransportationBusinessLicensePhoto() 
    {
        return isTransportationBusinessLicensePhoto;
    }
    public void setRoadTransportBusinessLicenseNo(String roadTransportBusinessLicenseNo) 
    {
        this.roadTransportBusinessLicenseNo = roadTransportBusinessLicenseNo;
    }

    public String getRoadTransportBusinessLicenseNo() 
    {
        return roadTransportBusinessLicenseNo;
    }
    public void setRegisteredAddressOfRoadTransportBusinessLicense(String registeredAddressOfRoadTransportBusinessLicense) 
    {
        this.registeredAddressOfRoadTransportBusinessLicense = registeredAddressOfRoadTransportBusinessLicense;
    }

    public String getRegisteredAddressOfRoadTransportBusinessLicense() 
    {
        return registeredAddressOfRoadTransportBusinessLicense;
    }
    public void setNumberOfOperatingVehicles(Integer numberOfOperatingVehicles) 
    {
        this.numberOfOperatingVehicles = numberOfOperatingVehicles;
    }

    public Integer getNumberOfOperatingVehicles() 
    {
        return numberOfOperatingVehicles;
    }
    public void setActualBusinessAddress(String actualBusinessAddress) 
    {
        this.actualBusinessAddress = actualBusinessAddress;
    }

    public String getActualBusinessAddress() 
    {
        return actualBusinessAddress;
    }
    public void setRegisteredAddress(String registeredAddress) 
    {
        this.registeredAddress = registeredAddress;
    }

    public String getRegisteredAddress() 
    {
        return registeredAddress;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCreateId(String createId) 
    {
        this.createId = createId;
    }

    public String getCreateId() 
    {
        return createId;
    }
    public void setUpdateId(String updateId) 
    {
        this.updateId = updateId;
    }

    public String getUpdateId() 
    {
        return updateId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public Date getEnteringDate() {
        return enteringDate;
    }

    public void setEnteringDate(Date enteringDate) {
        this.enteringDate = enteringDate;
    }

    public Integer getForkliftNum() {
        return forkliftNum;
    }

    public void setForkliftNum(Integer forkliftNum) {
        this.forkliftNum = forkliftNum;
    }

    public String[] getImgs() {
        return imgs;
    }

    public void setImgs(String[] imgs) {
        this.imgs = imgs;
    }

    public List<Map<String, Object>> getImgList() {
        return imgList;
    }

    public void setImgList(List<Map<String, Object>> imgList) {
        this.imgList = imgList;
    }

    public Integer getForkliftOperatorNum() {
        return forkliftOperatorNum;
    }

    public void setForkliftOperatorNum(Integer forkliftOperatorNum) {
        this.forkliftOperatorNum = forkliftOperatorNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationId", getStationId())
            .append("houseNumber", getHouseNumber())
            .append("storageRoom", getStorageRoom())
            .append("beforeCompanyName", getBeforeCompanyName())
            .append("companyName", getCompanyName())
            .append("companyNumber", getCompanyNumber())
            .append("nowNumber", getNowNumber())
            .append("legalPerson", getLegalPerson())
            .append("telephone", getTelephone())
            .append("legalPersonIdcard", getLegalPersonIdcard())
            .append("nativePlace", getNativePlace())
            .append("businessScope", getBusinessScope())
            .append("isBusinessLicensePhoto", getIsBusinessLicensePhoto())
            .append("businessLicenseNo", getBusinessLicenseNo())
            .append("registeredAddressOfBusinessLicense", getRegisteredAddressOfBusinessLicense())
            .append("isTransportationBusinessLicensePhoto", getIsTransportationBusinessLicensePhoto())
            .append("roadTransportBusinessLicenseNo", getRoadTransportBusinessLicenseNo())
            .append("registeredAddressOfRoadTransportBusinessLicense", getRegisteredAddressOfRoadTransportBusinessLicense())
            .append("numberOfOperatingVehicles", getNumberOfOperatingVehicles())
            .append("actualBusinessAddress", getActualBusinessAddress())
            .append("registeredAddress", getRegisteredAddress())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createId", getCreateId())
            .append("updateTime", getUpdateTime())
            .append("updateId", getUpdateId())
            .append("remark", getRemark())
            .toString();
    }
}
